package marchsoft.modules.selfFish.pisciculture.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import marchsoft.modules.selfFish.pisciculture.entity.Equipment;
import marchsoft.modules.selfFish.pisciculture.entity.vo.EquipmentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.CacheConfig;

/** 设备管理
 * @title EquipmentMapper
 * @description 设备管理
 * @author Lenovo
 * @version 1.0
 * @create 2024-07-15 17:02
 */
@Mapper
@CacheConfig(cacheNames = "equipment")
public interface EquipmentMapper extends BaseMapper<Equipment> {
    IPage<EquipmentVo>getEquipmentList(Page page,@Param("equipmentName") String equipmentName);
}
